package com.smalluz.ad.modules.ks.result.clue;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApiKsClue {
    @JsonProperty("id")
    private String id;

    @JsonProperty("clue_tag")
    private Integer clueTag;

    @JsonProperty("user_name")
    private String userName;

    @JsonProperty("phone")
    private String phone;

    // 0：未标记；101：已接通-有效通话；102：已接通-无效通话；103：未接通-拒接；104：未接通-无人接听；105：未接通-忙线；106：未接通-空号；107：未接通-停机；108：未接通；109：未接通-关机；110：主动挂断；
    @JsonProperty("phone_stat")
    private Integer phoneStat;

    @JsonProperty("intention_id")
    private Integer intentionId;

    @JsonProperty("account_id")
    private String accountId;

    @JsonProperty("user_id")
    private String userId;

    @JsonProperty("give_up_reason")
    private String giveUpReason;

    @JsonProperty("source_type")
    private Integer sourceType;

    @JsonProperty("page_id")
    private String pageId;

    @JsonProperty("page_name")
    private String pageName;

    @JsonProperty("source_url")
    private String sourceUrl;

    @JsonProperty("create_time")
    private Date createTime;

    @JsonProperty("update_time")
    private Date updateTime;

    // .1：公海；2：私海
    @JsonProperty("sea_type")
    private Integer seaType;

    // 业务来源
    // 1003：建站；1005：线索通；1007：投放平台；1008：联盟广告；1010：虚拟商品推广
    @JsonProperty("biz_id")
    private Integer bizId;

    // 1：广告流量；2：其他
    // 流量渠道
    @JsonProperty("channel_flag")
    private Integer channelFlag;
    
    @JsonProperty("child_intention_tag")
    private List<ChildIntentionTag> childIntentionTag;
   
    @JsonProperty("schedule")
    private Schedule schedule;
    
    @JsonProperty("clue_source")
    private ClueSource clueSource;
    
    @JsonProperty("form")
    private Form form;
    
    @JsonProperty("details")
    private List<Detail> details;
    
    @JsonProperty("icc_info")
    private IccInfo iccInfo;
}
